var mongoose = require('mongoose'),
    materializedPlugin = require('mongoose-materialized'),
    Schema = mongoose.Schema;


var CatSchema = new Schema({
  title: {type: String},
  expand:{type:Boolean,default:true}
});


CatSchema.plugin(materializedPlugin);

var Cate= mongoose.model('cate', CatSchema); // Category
module.exports=Cate;